vendor/golang.org/x/net/http2/hpack.Decoder.maxStrLen (field)
10 uses
vendor/golang.org/x/net/http2/hpack (current package)
hpack.go#L84: maxStrLen int // 0 means unlimited
hpack.go#L123: d.maxStrLen = n
hpack.go#L270: if d.maxStrLen != 0 && int64(len(d.buf)) > 2*(int64(d.maxStrLen)+varIntOverhead) {
hpack.go#L387: if d.maxStrLen != 0 {
hpack.go#L388: if len(hf.Name) > d.maxStrLen || len(hf.Value) > d.maxStrLen {
hpack.go#L479: if d.maxStrLen != 0 && strLen > uint64(d.maxStrLen) {
hpack.go#L496: if err := huffmanDecode(buf, d.maxStrLen, p[:strLen]); err != nil {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)